package com.gjintel.framework.register.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

/**
 * 协议保证金类
 * @author Administrator
 *
 */
@Entity
@Table(name = "t_sys_register_deposit")
public class DepositCategory {
	
	private String id;
	private String registerId;
	private String depositCategoryId;
	private String name;
	private Integer count;
	
	

	public DepositCategory() {
		super();
	}
	public DepositCategory(String id, String registerId, String depositCategoryId,String name,Integer count) {
		super();
		this.id = id;
		this.registerId = registerId;
		this.depositCategoryId = depositCategoryId;
		this.name = name;
		this.count=count;
	}
	@Id
	@GeneratedValue(generator = "UIDGenerator")
	@GenericGenerator(name = "UIDGenerator", strategy = "org.hibernate.id.UUIDHexGenerator")
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name="register_id")
	public String getRegisterId() {
		return registerId;
	}
	public void setRegisterId(String registerId) {
		this.registerId = registerId;
	}
	
	@Column(name="deposit_categoryId")
	public String getDepositCategoryId() {
		return depositCategoryId;
	}
	public void setDepositCategoryId(String depositCategoryId) {
		this.depositCategoryId = depositCategoryId;
	}
	
	@Transient
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	@Transient
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}

}
